package com.teradata.fbj.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.teradata.fbj.dao.IConnDataBaseDao;
import com.teradata.fbj.pojo.linkParams;

@Service
public class ConnDataBaseServiceImpl implements IConnDataBaseService{
	
	@Autowired
	private IConnDataBaseDao connDataBaseDao;

	public int createModel(String tableSql ,linkParams lp) throws Exception {
		return connDataBaseDao.createModel(tableSql , lp);
	}

	public List<String> getTableName(linkParams lp) throws Exception{
		return connDataBaseDao.getTableName(lp);
	}

	

}
